﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="EditStat.aspx.cs" Inherits="Cn.Cellula.Website.Admin.Module.Stat.EditStat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="/Cellula_Client/module/stat/style/StatMain.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH_PageTitle" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPH_MainBody" runat="server">
   <div class="action_bar">
        <asp:Button ID="btn_save" runat="server" Text="保存" OnClick="btn_save_Click" />
        <input type="reset" value="重置" />
        <input type="button" onclick="jskitBulter.redirect('Admin/Module/Stat/List.aspx')" value="取消" />
    </div>
    <fieldset>
        <legend>统计信息</legend>
        <table border="0" cellpadding="0" cellspacing="0" class="edit_form">
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">标题：</span>
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" ID="txt_StatName" Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    副标题：
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" ID="txt_StatSubName" Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">图形：</span>
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:DropDownList runat="server" ID="ddl_Chart"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">横坐标名称：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_XName" Width="300px"></asp:TextBox>
                </td>
                <td class="edit_form_item_title">
                    <span class="required">纵坐标名称：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_YName" Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">数据源：</span>
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" ID="txt_SrcName" Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">Key标题：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_DataKeyCaption" Width="300px" Text="主键"></asp:TextBox>
                </td>
                <td class="edit_form_item_title">
                    <span class="required">Key列名：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_DataKeyField" Width="300px" Text="stat_key"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">Text标题：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_DataTextCaption" Width="300px" Text="名称"></asp:TextBox>
                </td>
                <td class="edit_form_item_title">
                    <span class="required">Text列名：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_DataTextField" Width="300px" Text="stat_text"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">Value标题：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_DataValueCaption" Width="300px" Text="值"></asp:TextBox>
                </td>
                <td class="edit_form_item_title">
                    <span class="required">Value列名：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_DataValueField" Width="300px" Text="stat_value"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">排序列：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_OrderField" Width="300px" Text="stat_value"></asp:TextBox>
                </td>
                <td class="edit_form_item_title">
                    <span class="required">排序选项：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:RadioButtonList runat="server" ID="tadl_SortOption" RepeatDirection="Horizontal">
                        <asp:ListItem Value="asc" Text="ASC"></asp:ListItem>
                        <asp:ListItem Value="desc" Text="DESC" Selected="True"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    基线名称：
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_TrendName" Width="300px"></asp:TextBox>
                </td>
                <td class="edit_form_item_title">
                    基线数值：
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_TrendValue"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    是否显示数值：
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:RadioButtonList runat="server" ID="radl_IsShowValues" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1" Text="是" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="0" Text="否"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    Y轴数值前缀：
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" ID="txt_NumberPrefix"></asp:TextBox>
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>
